﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Web.Services
{
	public interface IRewriterService
	{
		ERPStore.Models.Product RecoverableProduct(string code);
		ERPStore.Models.ProductCategory RecoverableProductCategory(string productCategoryLink);

		System.Web.Mvc.ActionResult RewriteProductUrl(ERPStore.Models.Product product, System.Web.Mvc.UrlHelper helper);
		System.Web.Mvc.ActionResult RewriteProductCategoryUrl(ERPStore.Models.ProductCategory category, System.Web.Mvc.UrlHelper helper);
		System.Web.Mvc.ActionResult RewriteBrandUrl(ERPStore.Models.Brand brand, System.Web.Mvc.UrlHelper helper);
		System.Web.Mvc.ActionResult RewriteUrl(System.Web.HttpRequestBase Request);
	}
}
